<article class="page-container">
	<form autocomplete="off" class="form form-horizontal jq_validate_file" action="" enctype="multipart/form-data" method="post" onsubmit="return false;">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			<span class="c-red">*</span>标题：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value=""
		          placeholder="标题"
		          name="title" 
		          data-rule-required="true"
		          data-msg-required="请输入标题"
		          />
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">图片：</label>
			<div class="formControls col-xs-8 col-sm-9">
					<input type="file" name="pic">
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				设置推荐：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
				<span class="select-box">
					<select name="rec_id" class="select">
				          <{volist name="rec" id="v"}>
				              <option value="<{$key}>">
				              <{$v}>
				              </option>
				          <{/volist}>
					</select>
				</span>
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				分类：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
				<span class="select-box">
					<select name="cat_id" class="select">
				          <{volist name="category" id="v"}>
				              <option value="<{$v.id}>">
			                  <{for start="0" end="$v.depath"}>
			                  &nbsp;
			                  <{/for}>
				              |-<{$v.cat_title}>
				              </option>
				          <{/volist}>
					</select>
				</span>
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				是否包邮：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
				<span class="select-box">
					<select name="is_baoyou" class="select">
				          <{volist name="is_baoyou" id="v"}>
				              <option value="<{$key}>">
				              <{$v}>
				              </option>
				          <{/volist}>
					</select>
				</span>
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			淘宝商品ID：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" style="width:80%;" value=""
		          placeholder="淘宝商品ID"
		          name="taobao_goods_id" 
		          />
		          <input style="width:80px;" class="btn btn-primary radius"  value="抓取" />
			</div>
			
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			优惠券领取地址：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" style="width:80%;" value=""
		          placeholder="优惠券领取地址"
		          name="coupon_url" 
		          />
		          <input style="width:80px;" class="btn btn-primary radius"  value="抓取" />
			</div>
			
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			淘宝商品链接地址：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" style="width:80%;" value=""
		          placeholder="优惠券领取地址"
		          name="taobao_url" 
		          />
		          <input style="width:80px;" class="btn btn-primary radius"  value="抓取" />
			</div>
			
		</div>


		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			优惠券淘口令：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value=""
		          placeholder="优惠券领取地址"
		          name="coupon_kl" 
		          />
			</div>
		</div>

		

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			淘宝商品淘口令：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value=""
		          placeholder="优惠券领取地址"
		          name="taobao_kl" 
		          />
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			优惠券面值：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value=""
		          placeholder="优惠券面值"
		          name="coupon_price" 
		          />
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			优惠券总数量：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value=""
		          placeholder="优惠券总数量"
		          name="coupon_total_num" 
		          />
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			优惠券剩余数量：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value=""
		          placeholder="优惠券剩余数量"
		          name="coupon_num" 
		          />
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">优惠券描述：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="coupon_desc" class="textarea"  placeholder="优惠券描述..." onKeyUp="textarealength(this,200)"></textarea>
				<p class="textarea-numberbar"><em class="textarea-length">0</em>/80</p>
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">优惠券截止时间：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" id="min_time" name="coupon_time" placeholder="优惠券截止时间" class="input-text" style="width:160px;">
			</div>
		</div>

		

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			佣金比例：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value=""
		          placeholder="佣金比例"
		          name="yj_rate" 
		          />
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			淘宝原价：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value=""
		          placeholder="淘宝原价"
		          name="taobao_price" 
		          />
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
			浏览次数：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value=""
		          placeholder="浏览次数"
		          name="views" 
		          />
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				是否开启：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
				<span class="select-box">
					<select name="status" class="select">
				          <{volist name="status" id="v"}>
				              <option value="<{$key}>">
				              <{$v}>
				              </option>
				          <{/volist}>
					</select>
				</span>
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				排序值：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" value="0"
		          placeholder="排序值 倒序排序"
		          name="sort"
		          />
			</div>
		</div>
		
		
		<{include file="com/addphoto" /}>
		
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">描述摘要：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea name="description" class="textarea"  placeholder="描述摘要..." onKeyUp="textarealength(this,200)"></textarea>
				<p class="textarea-numberbar"><em class="textarea-length">0</em>/80</p>
			</div>
		</div>
		
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">内容：</label>
			<div class="formControls col-xs-8 col-sm-9"> 
				<textarea class="kind_editor" name="content" style="width:800px;height:400px;visibility:hidden;"></textarea> 
			</div>
		</div>
		
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<input type='submit' class="btn btn-primary radius" type="submit" value="提交" />
				<button onClick="com_close(this);" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
			</div>
		</div>
	</form>
</article>